package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.base.ResponseResult;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingLevelMapper {

    List<NursingLevelVo> getlistAll();

    void createInsert( NursingLevel nursingLevel);

    Page<NursingLevelVo> selectByPage(String name, Integer status);

    NursingLevelVo getById(Integer id);

    void update(NursingLevel nursingLevel);

    void deleteId(Integer id);

    void Enable(Integer id, Integer status);
}
